﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Convertor
{
    /// <summary>
    /// 
    /// </summary>
    public class InputTextModelView : INotifyPropertyChanged
    {
        /// <summary>
        /// 
        /// </summary>
        public string InputText
        {
            get { return Config.TemplateModel.Container.InputText; }
            set { Config.TemplateModel.Container.InputText = value; if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs("InputText")); } }
        }

        #region INotifyPropertyChanged 成员

        public event PropertyChangedEventHandler PropertyChanged;

        #endregion
    }
}
